/*package com.hotvoice.android.utils;

import com.hotvoice.android.service.CallService;

import android.os.Bundle;
import android.preference.CheckBoxPreference;
import android.preference.ListPreference;
import android.preference.Preference;
import android.preference.Preference.OnPreferenceChangeListener;
import android.preference.PreferenceActivity;
import android.preference.PreferenceScreen;

public class Settings extends PreferenceActivity implements Preference.OnPreferenceChangeListener {
	public static final String BUTTON_FORMAT_KEY = "file_format";
	public static final String BUTTON_LISTCOUNTS_KEY = "list_counts";
	public static final String BUTTON_PLAYBACK_DELAY_KEY = "playback_delay";
	public static final String BUTTON_PLAYBACK_ENABLE_KEY = "playback_enable";
	public static final String BUTTON_RECORDTYPE_KEY = "record_type";

	protected void onCreate(Bundle paramBundle) {
		super.onCreate(paramBundle);
		addPreferencesFromResource(2130968576);
		PreferenceScreen localPreferenceScreen = getPreferenceScreen();
		((ListPreference) localPreferenceScreen.findPreference("record_type")).setOnPreferenceChangeListener(this);
		((ListPreference) localPreferenceScreen.findPreference("list_counts")).setOnPreferenceChangeListener(this);
		((ListPreference) localPreferenceScreen.findPreference("playback_delay")).setOnPreferenceChangeListener(this);
		((CheckBoxPreference) localPreferenceScreen.findPreference("playback_enable")).setOnPreferenceChangeListener(this);
		((ListPreference) localPreferenceScreen.findPreference("file_format")).setOnPreferenceChangeListener(this);
	}

	public boolean onPreferenceChange(Preference paramPreference, Object paramObject) {
		if (paramPreference.getKey().equals("record_type")) {
			CallService.mode = Integer.parseInt(paramObject.toString());
		}

		if (paramPreference.getKey().equals("list_counts")) {
			CallService.max_file_counts = Integer.parseInt(paramObject.toString());

		}
		if (paramPreference.getKey().equals("playback_delay")) {
			CallService.playback_delay = Integer.parseInt(paramObject.toString());
		}
		if (paramPreference.getKey().equals("playback_enable")) {
			boolean bool1 = ((Boolean) paramObject).booleanValue();
			boolean bool2 = CallService.usePlayback;
		}
		if (!paramPreference.getKey().equals("file_format")) {
			CallService.file_format = paramObject.toString();
		}
		return true;
	}
}


 * Location: C:\Documents and Settings\Administrator\桌面\Voicerecorder\classes.dex.dex2jar.jar Qualified Name: cn.airrunner.voicerecorder.Settings
 * JD-Core Version: 0.6.0
 */